package org.honeynet.hbbackend.submithttp;

import javax.servlet.http.HttpServletResponse;

public enum SubmitHttpReturnType {
	S_FILEKNOWN(HttpServletResponse.SC_OK),
	S_FILEREQUEST(HttpServletResponse.SC_OK),
	S_FILEOK(HttpServletResponse.SC_OK),
	S_ERROR(HttpServletResponse.SC_BAD_REQUEST);
	
	private int sc;
	
	private SubmitHttpReturnType(int sc) {
		this.sc = sc;
	}
	
	public int httpStatusCode() {
		return sc;
	}
}
